package com.ykh.mybatis.pojo;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: YKH
 * Date: 2022-08-16
 * Time: 16:02
 */
public class Temp {
    private int eid;
    private String empName;
    private String age;
    private String sex;
    private String email;
    private Tdept tdept;
    @Override
    public String toString() {
        return "Temp{" +
                "eid=" + eid +
                ", empName='" + empName + '\'' +
                ", age='" + age + '\'' +
                ", sex='" + sex + '\'' +
                ", email='" + email + '\'' +
                ", dept=" + tdept +
                '}';
    }

    public Tdept getDept() {
        return tdept;
    }

    public void setDept(Tdept tdept) {
        this.tdept = tdept;
    }
    public Temp() {}
    public Temp(int eid, String empName, String age, String sex, String email) {
        this.eid = eid;
        this.empName = empName;
        this.age = age;
        this.sex = sex;
        this.email = email;
    }

    public int getId() {
        return eid;
    }

    public void setId(int id) {
        this.eid = id;
    }

    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }


}
